import React, { Component } from 'react';
import { View } from '@tarojs/components';

class Index extends Component {
  state = {
    msg: 'Hello World!12',
  };



  componentDidMount() {
    console.log('componentDidMount');
  }


  componentWillUnmount() {
 console.log('componentWillUnmount');
 
  }

  componentDidShow() {
    console.log('componentDidShow');
  }

  componentDidHide() {
    console.log('componentDidHide');
  }

  render() {
    return <View>{this.state.msg}</View>;
  }
}

export default Index;